﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    ///<summary>
    ///站台
    ///</summary>
    [SugarTable("DBO.t_Station")]
    public partial class t_Station
    {
        public t_Station()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:站台编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Code { get; set; }

        /// <summary>
        /// Desc:站台名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Name { get; set; }

        /// <summary>
        /// Desc:设备编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? DeviceCode { get; set; }

        /// <summary>
        /// Desc:库房Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int WhId { get; set; }

        /// <summary>
        /// Desc:库房编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? WhCode { get; set; }

        /// <summary>
        /// Desc:库房名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? WhName { get; set; }

        /// <summary>
        /// Desc:库区Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? AreaId { get; set; }

        /// <summary>
        /// Desc:库区名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? AreaName { get; set; }

        /// <summary>
        /// Desc:关联LED设备Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? LEDId { get; set; }

        /// <summary>
        /// Desc:站台分类：1-轻型；2-重型
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int StationSort { get; set; }

        /// <summary>
        /// Desc:
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int StationType { get; set; }

        /// <summary>
        /// Desc:功能类型：1-入库；2-出库；3-出入库；4-拣选；5-缓存
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int FunctionType { get; set; }

        /// <summary>
        /// Desc:状态：0-禁用；1-正常
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int Status { get; set; }

        /// <summary>
        /// Desc:是否锁定
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public bool? IsLock { get; set; }

        /// <summary>
        /// Desc:所在楼层
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? AddrFloor { get; set; }

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Remark { get; set; }

        /// <summary>
        /// Desc:排序号
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int DisplayOrder { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:False
        /// </summary>           
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// Desc:创建人Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CreateUserId { get; set; }

        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CreateUserName { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// Desc:修改用户Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ModifyUserId { get; set; }

        /// <summary>
        /// Desc:修改人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ModifyUserName { get; set; }

    }
}
